/**
 * Copyright (c) 2018-2028, Joffee.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.sailmi.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sailmi.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;


/**
 * 服务企业授权表，表示哪个企业具有此服务的权限，此版本暂不考虑个人用户的服务授权实体类
 *
 * @author sailmi
 * @since 2020-10-14
 */

@TableName("ucs_service_enterprise")
@Schema(name = "ServiceEnterprise对象", description = "服务企业授权表，表示哪个企业具有此服务的权限，此版本暂不考虑个人用户的服务授权")
public class ServiceEnterprise extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

  @TableId("ID")
  private Long id;
  private Long serviceId;
  private Long enterpriseId;
  private Short authStatus;
    /**
     * 创建人
     */
    @Schema(name = "创建人")
    private Long createUser;
    /**
     * 创建时间
     */
    @Schema(name = "创建时间")
    private Date createTime;
    /**
     * 修改人
     */
    @Schema(name = "修改人")
    private Long updateUser;
    /**
     * 修改时间
     */
    @Schema(name = "修改时间")
    private Date updateTime;
    /**
     * 状态
     */
    @Schema(name = "状态")
    private Integer status;
    /**
     * 是否已删除
     */
    @Schema(name = "是否已删除")
    private Integer isDeleted;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getServiceId() {
		return serviceId;
	}

	public void setServiceId(Long serviceId) {
		this.serviceId = serviceId;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public Short getAuthStatus() {
		return authStatus;
	}

	public void setAuthStatus(Short authStatus) {
		this.authStatus = authStatus;
	}

	public Long getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
}
